<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Index/style/bootstrap-3.3.5-dist/css/bootstrap.min.css"/>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Index/style/foot.css"/>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Index/style/list.css"/>
	<script src="__STATIC__/Index/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="__STATIC__/Index/js/list.js" type="text/javascript" charset="utf-8"></script>
	<script src="__STATIC__/Index/js/common.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<include file="__VIEW__/Common/topNav.html"/>
<!---------------面包屑导航区域开始 ------------->
<div id="bread">
	<a href="__ROOT__"> BOYS首页 </a>
	<list from="$bread" name="$b" start='0'>
		<if value='$hd.list.b.last'>
			<span>></span>
			<span class="last">{$b.cname}</span>
		<else/>	
			<span>></span>
			<a href="{|U:'List/index',array('cid'=>$b['cid'])}">{$b.cname}</a>
		</if>
	</list>

</div>
<!---------------面包屑导航区域结束 ------------->

<!---------------商品展示区域开始 --------------->
<div id="showGoodsBox">
	<!--左侧分类列表区域-->
	<div class="leftCate">
		<ul class="list">
			<li class="allCate cate">全部品类<!--<span class="num">31894</span>--></li>
			<?php $i=0;$j=0 ?>
			<foreach from="$navCate" key="$tk" value="$t">
				<foreach from="$t['son']" key="$sk" value="$s">
				<li class="topCate">
					<i><span class="glyphicon glyphicon-play"></span></i>
					<span class="cate">{$s.cname}</span>
					<!--<span class="num">12654</span>-->
					<div class="sonCate" <if value="isset($_GET['jsT'])&&$i==$_GET['jsT']">style="display:block;"</if> >
						<foreach from="$s['sec']" key="$ck" value="$c">
							<a class="checkA <if value="isset($_GET['jsA'])&&$j==$_GET['jsA']">checked</if>" href="{|U:'index',array('cid'=>$c['cid'],'jsT'=>$i,'jsA'=>$j)}">{$c.cname|mb_substr:0,8,'utf-8'}<!--<span class="num">12654</span>--></a>
							<?php $j++; ?>
						</foreach>
						
					</div>
				</li>
				<?php $i++; ?>
				</foreach>
			</foreach>
			<!--<li class="topCate">
				<i><span class="glyphicon glyphicon-play"></span></i>
				<span class="cate">裤子</span>
				<span class="num">10354</span>
				<div class="sonCate">
					<a href="javascript:;">全部裤子<span class="num">12654</span></a>
					<a href="javascript:;">西裤<span class="num">1254</span></a>
					<a href="javascript:;">休闲裤<span class="num">154</span></a>
					<a href="javascript:;">短裤<span class="num">552</span></a>
					<a href="javascript:;">牛仔裤<span class="num">2654</span></a>
					<a href="javascript:;">运动裤<span class="num">1054</span></a>
					<a href="javascript:;">夹克<span class="num">126</span></a>
					<a href="javascript:;">西装<span class="num">14</span></a>
				</div>
			</li>-->
		</ul>
	</div>
	<!--左侧分类列表区域结束-->
	
	<!--右侧商品展示区域开始-->
	<div class="rightGoods">
		<div class="topShow">
			<div class="content">
				<h1>POLO衫</h1>
				<h5>POLO SHIRT</h5>
				<p>
					如果说T-Shirt的发展是屌丝逆袭的话，那么Polo Shirt绝对是高富帅。其来自7次大满贯冠军René Lacoste及其同名品牌，鳄鱼的LOGO同样来自其职场上的外号。当lacoste将他的服装推向市场时还叫做网球衫，但马球运动员们马上意识到这样的服装比他们穿的更适合，1972年，Ralph Lauren推出经典的马球POLO Shirt款式，参考“网球衫”胸前的鳄鱼而设计了马球的刺绣款式，并在后来大获成功。
				</p>
			</div>
			<div class="conImg">
				<!--展示图片-->
				<a href=""><img src="__STATIC__/Index/images/listConImg.jpg" alt="" /></a>
			</div>
		</div>
		
		<!--商品筛选区域开始-->
		<div class="filter">
			<div class="filted">
				<span>已选条件：</span>
				<a href="{|U:'index',array('cid'=>$_GET['cid'])}" class="clean">清空筛选条件</a>
			</div>
			<?php
				$i=0;
			?>
			<foreach from="$filterData" key="$tk" value="$t">
				<?php
					$temp=$pram;
				?>
				<div class="filCase barnd fil">
					<span class="caseTitle">{$tk}：</span>
					<div class="op ">
						<?php
							$temp[$i]=0;
						?>
						<a href="{|U:'index',array('cid'=>$_GET['cid'],'pram'=>implode('_',$temp))}" class="caseBox <if value="$pram[$i]==0">checked</if>">
							<span class="rect"><i>√</i></span>
							<span class="case">不限</span>
						</a>
						<foreach from="$t" key="$ak" value="$a">
							<?php
								if($pram[$i]==$a['gaid']){
									$temp[$i]=0;
								}else{
									$temp[$i]=$a['gaid'];							    
								}
							?>
							<a href="{|U:'index',array('cid'=>$_GET['cid'],'pram'=>implode('_',$temp))}" class="caseBox noZ <if value="$pram[$i]==$a['gaid']">checked</if>">
								<span class="rect"><i>√</i></span>
								<span class="case">{$a.attr_value}</span>
							</a>
						</foreach>
					</div>
				</div>
				<?php $i++;?>
			</foreach>
			<!--<div class="filCase price">
				<span class="caseTitle">价格：</span>
				<div class="op ">
					<a href="javascript:;" class="caseBox"><span class="case">￥0-300</span></a>
					<a href="javascript:;" class="caseBox"><span class="case">￥300-600</span></a>
					<a href="javascript:;" class="caseBox"><span class="case">￥600-1000</span></a>
					<a href="javascript:;" class="caseBox"><span class="case">￥1000-2000</span></a>
					<a href="javascript:;" class="caseBox"><span class="case">￥2000以上</span></a>
				</div>
			</div>-->
			
			<div class="moreFilter">
				<a>更多选项</a>
			</div>
			<!--商品排序框-->
			<!--<div class="sort">
				<a href="javascript:;">最新<i></i></a>
				<a href="javascript:;">价格<i></i></a>
				<a href="javascript:;">折扣<i></i></a>
				<a href="javascript:;" ><span href="" class="rect"><i>√</i></span>新品<i></i></a>
				<a href="javascript:;" ><span href="" class="rect"><i>√</i></span>打折<i></i></a>
				<a href="javascript:;"><span href="" class="rect"><i>√</i></span>限量<i></i></a>
			</div>-->
		</div>
		<!--商品筛选区域结束-->
		
		<!--商品展示区域开始-->
		<div class="goodsBox">
			<!--每个商品-->
			<if value="empty($listData)">
				<h3>没有找到符合条件的商品</h3>
			<else/>
				<foreach from="$listData" key="$k" value="$v">
					<div class="goods">
						<a href="{|U:'Content/index',array('gid'=>$v['gid'])}" class="goodsImg">
							<img src="__ROOT__/{$v.list_img}"/>
							<!--加over显示-->
							<if value="$v['store']<500">
								<p class="over">即将售罄</p>
							</if>
							<!--加sale、new class显示-->
								<span class="new">SALE</span>
						</a>
						<div class="goodsInfo">
							<a href="{|U:'Content/index',array('gid'=>$v['gid'])}">{$v.gname}</a>
							<a href="">{$v.bname}</a>
							<p>
								<!--有class才显示-->
								<span class="oldprice">￥{$v.market_price}</span>
								<span class="price">￥{$v.shop_price}</span>
							</p>
						</div>
						<div class="goodsPopbox">
							<a href="{|U:'Content/index',array('gid'=>$v['gid'])}" class="thumb"><img src="__ROOT__/{$v.list_img}" alt="" /></a>
						</div>
					</div>
				</foreach>
				<!--每个商品结束-->
			</if>
			
		</div>
		<!--商品展示区域结束-->
		
		<!--分页-->
		
		<div class="page">
			<span class="pageData">1 - {$pageData.max} / 共{$pageData.totle}件商品</span>
			<span class="pageInfo">
			{$page}
			</span>
			
			<!--<span class="pageInfo">
				<a href=""><上一页</a>
				<a href="">1</a>
				<a href="" class="checked">2</a>
				<a href="">3</a>
				<a href="">4</a>
				<a href="">5</a>
				...
				<a href="">28</a>
				<a href="">下一页></a>
			</span>-->
		</div>
		
		<!--最近游览-->
		<div class="historyLook">
			<p class="title">最近浏览的商品</p>
			<div class="myHistory">
				<div class="goods">
					<a href="" class="goodsImg">
						<img src="__STATIC__/Index/images/goods/1.jpg"/>
					</a>
					<div class="goodsInfo">
						<a href="">DUNKELVOLK 满版花朵衬衫</a>
						<a href="">DUNKELVOLK</a>
						<p>
							<!--有class才显示-->
							<span class="oldprice">￥458</span>
							<span class="price">￥299</span>
						</p>
					</div>
				</div>
				
				
			</div>
		</div>
		<!--最近游览结束-->
	</div>
	<!--右侧商品区域结束-->
</div>
<!---------------商品展示区域结束 --------------->



<include file="__VIEW__/Common/foot.html"/>
	
</body>
</html>
